﻿using CS.DAL;
using CS.model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CS.BLL
{
    public class GetAdmin
    {
        private AdminSelect a = new AdminSelect();
        public List<Admininfo> AdminGet(string Name)
        {
            return a.SelectAdmin(Name);
        }
        public bool InsertUser(string adminname, string adminpwd)
        {
            return a.InsertAdmin(adminname, adminpwd);
        }
    }
}
